package com.ccrego.haiyi.common.web;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/8/30.
 */

public class FileUploadMessage implements Serializable {
    public static final int TYPE_PIC = 1;
    public static final int TYPE_VIDEO = 2;
    public static final int TYPE_AUDIO = 3;

    public static final int RESULT_FAILED = 1;
    public static final int RESULT_SUCCESS = 2;

    private int type = TYPE_PIC;
    private int result = RESULT_SUCCESS;
    private String url = "";

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }


    public FileUploadMessage(int type, int result, String url) {
        this.type = type;
        this.result = result;
        this.url = url;
    }


}
